<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    /* .box {
        display: flex;
    }

    .box-left {
        width: 200px;
        background-color: blue;
        height: 1000px;
    }

    .box-right {
        flex: 1;
        background-color: red;
        height: 1000px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .box-right_top {
        position: absolute;
        right: 0;
        width: 200px;
        height: 200px;
        background-color: yellow;
    }

    .box-right_bottom {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 200px;
        height: 200px;
        background-color: black;
    } */
    .img {
        display: flex;
        margin: 0 10px;
        padding: 10px 0 20px;
        width: 10px;
    }
</style>

<body>
    <!-- <div class='box'>
        <div class='box-left'> </div>
        <div class='box-right'>
            <div class='box-right_top'>

            </div>
            <div class='box-right_bottom'>

            </div>
        </div>
    </div> -->
    <!-- <a href="https://baidu.com">

        11<span>baidu<div> 22</div></span>
    </a> -->

    <div style="display: inline-block;">
        <img class="img" />
    </div>
</body>

<script>
    // console.log(document.body === document.querySelectorAll(body));
    // console.log(document.body.nodeType);
    // document.querySelector('a').addEventListener('click', ev => ev.preventDefault, false);
    // var d = document.getElementsByClassName("boxList")
    // var box1 = document.getElementsByClassName("box1")
    // var box2 = document.getElementsByClassName("box2")
    // // d.innerHTML = '<div class="box2">222</div><div class="box1">111</div>';
    // d.appendChild(box1);




</script>


</html>